﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Clients_Control_ykkh : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack) {
            LoadYKien();
            String strPage = "";
            try
            {
                strPage = Request.Params["Pro"].ToString().Trim();
            }
            catch
            {
                strPage = "Default";
            }
            lblContentTitle.Text = Constant.ContentTitle(strPage);
        }
    }
    private void LoadYKien() {
        WebData db = new WebData();
        this.grdDs.DataSource = db.tbl_YKienKhachHangs.GetAll();
        this.grdDs.DataBind();
    }
}